home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Gekikoh Dennoh Club 2
/
Gekikoh Dennoh Club Vol. 2 (Japan).7z
/
Gekikoh Dennoh Club Vol. 2 (Japan) (Track 01).bin
/
tools
/
post2_g2
/
src
/
post.h
< prev
Wrap
Text File
|
1997-10-13
|
3KB
|
132 lines
/*
post / 郵便番号検索プログラム
post.h / ヘッダファイル
*/
/* p_doku の検索打ち切り数 */
#define GENKAI 1024
/* p_bangou の検索打ち切り数 */
#define B_GEN 1024
/* p_kana の検索打ち切り数 */
#define K_GEN 1024
/* p_disp における字名一覧のページ当り行数 */
#define PAGELINE 20
/* バージョン番号 */
#define VERSION "2.00"
typedef unsigned char uchar;
/*
前宣言
*/
/* p_fuku.c */
void check_kanousei( int shiku_num[5] );
/* p_find.c */
void shikugun_check( void );
void cut_check( int kou1, int kou2 );
int find_strs_pref( uchar *cwork, int delim_code );
int find_strs_kou2( uchar *cwork, int delim_code );
/* p_disp.c */
void disp_number( void );
void k_num_disp( uchar *kstr );
/* p_kana.c */
void hankaku_kensaku( void );
/* p_doku.c */
void dokuji_kensaku( void );
/* p_uni.c */
int iskan( uchar *kan );
int is_not_delim( char delim_wk );
int sentou_niji( uchar *chk_str );
void pass_next_han( void );
void pass_next_han2( uchar wk );
int check_next_delim( int stype );
void fuka_delim( uchar *str_p, int delim_code );
void koumoku_set( uchar *cwork, uchar kou );
void get_next_han( uchar *str_p );
void get_next_han2( uchar *str_p );
int ret_delim_code( uchar delim );
void del_last_char( uchar workstr[] );
void pass_back_han( uchar delim );
int strschks( uchar *moji1, uchar *moji2 );
void str_purge( uchar *purge_str );
int hankaku_test( void );
void ke_test( void );
void ken_atamadashi( void );
void todo_kakutei( void );
void number_seikei( uchar *num_wk );
void get_next_num( uchar *str_p );
void moji_pr( unsigned char *inpstr, unsigned char *irostr );
uchar backtrace( void );
int seirei_check( uchar *teststr );
void ichien_check( uchar *pnum, uchar *knum );
uchar *nokori( uchar *strwk1, uchar *strwk2 );
void str_bcpy( uchar *strwk1, int start_pos, int end_pos );
int sonzai_check( uchar *str1, uchar *str2, int d_code1, int d_code2 );
int bm_find( uchar delim, uchar *patt, int first_pos );
void status_print( void );
void keta( uchar s1[], uchar s2[] );
void kugiri( void );
/* p_bangou.c */
void bangou_kensaku( void );
void ichien_check2( int ichien, uchar *pnum, uchar *knum );
int is_bangou_legal( uchar *bangou );
/* post.c */
int main( int argc, char *argv[] );
void usage( void );
void open_check( char *argvs );
void kenmei_kakutei( void );
void hensuu_syokika( void );
void input_juusyo( void );
void kaihou( void );
/*
extern
*/
extern FILE *ai,*bi;
extern int ofs,
pref_ofs,
file_len,
num_pref,
shiku_tokutei_sw,
tousuu,
kusuu,
todo_sw,
dokuji_sw,
k_suppress,
azamei_gentei,
kugiri_mode,
genmitsu_mode,
tousyo_sw,
exist_moji,
ctr;
extern uchar *buf,
str_work[256],
input_str[256],
shikumei[64],
shikumei2[64],
yomi0[10],
yomi1[64],
yomi2[64],
yomi3[64],
pref[ 47 ][ 10 ],
pref_yomi[ 47 ][ 10 ],
tousyo[9][2][11],
toku[23][2][10],
kanji_shiku[ 5 ][ 3 ],
delim_shiku[ 6 ];
extern __common const unsigned char *_mbctype;
/*
たんぼ氏提供 超 FEP オフりルーチン
*/
extern int (*fep_off)();